﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div style="width: 100%;">
    <div class="mini-toolbar" style="border-bottom: 0; padding: 0px;">
        <table style="width: 100%;">
            <tr>
                <td style="width: 100%;">
                    <a id="add" class="mini-button" iconcls="icon-add" plain="true" onclick="addRow()">增加</a>
                    <a id="delete" class="mini-button" iconcls="icon-remove" plain="true" onclick="removeRow()">删除</a>
                    <a id="edit" class="mini-button" iconcls="icon-save" plain="true" onclick="saveData()">保存</a>
                </td>
                <td style="white-space: nowrap;">
                    <input id="key" class="mini-textbox" emptytext="请输入关键字" style="width: 250px;" onenter="onKeyEnter" />
                    <a class="mini-button" plain="true" onclick="search()">查询</a>
                </td>
            </tr>
        </table>
    </div>
</div>

<div class="mini-fit" style="height: 100%;">
    <div id="datagrid1" class="mini-datagrid" style="width: 100%; height: 100%;"
        url="GetCash" idfield="CID" pagesize="20"
        allowcelledit="true" allowcellselect="true" multiselect="true"
        editnextonenterkey="true" editnextrowcell="true">
        <div property="columns">
            <div type="indexcolumn"></div>
            <div type="checkcolumn"></div>
            <div field="Num" width="150" headeralign="center" vtype="required">
                编号<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
            <div field="RevPayType" width="120" headeralign="center" >
                收支<input property="editor" class="mini-textbox" style="width: 100%;" minheight="60" />
            </div>
             <div field="Amount" width="150" headeralign="center" >
                金额<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
            <div field="Remark" width="120" headeralign="center" >
                备注<input property="editor" class="mini-textbox" style="width: 200px;" minheight="60" />
            </div>
             <div field="DocNum" width="150" headeralign="center" >
                凭证号<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
            <div field="CompanyCode" width="150" headeralign="center" >
                子公司<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>

             <div field="ProcessBy" width="100" headeralign="center" >
                经办人<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
            <div field="ProcessDate" width="100" headeralign="center" >
                经办日期<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
             <div field="ApproveBy" width="100" headeralign="center" >
                审核人<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>
            <div field="ApproveDate" width="100" headeralign="center" >
                审核日期<input property="editor" class="mini-textbox" style="width: 100%;" />
            </div>

             <div field="CreateBy" width="100" headeralign="center" >
                操作员
            </div>
            <div field="CreateDate" width="100" headeralign="center" >
                操作时间
            </div>
        </div>
    </div>
</div>
